/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package digitaldreamers.games.ddmonsters.servers.gameserver.components.basicinfomation;

/**
 *
 * @author DaoLe
 */
public class PlayerInformation {
    
    // <editor-fold defaultstate="collapsed" desc="Constants">
    public static final String TABLE_NAME = "player";
    
    public static final String COLUMN__PLAYER_ID = "playerId";
    public static final String COLUMN__UIID = "uiid";
    public static final String COLUMN__LOGIN = "login";
    public static final String COLUMN__PASSWORD = "password";
    public static final String COLUMN__NICKNAME = "nickname";
    public static final String COLUMN__EMAIL = "email";
    public static final String COLUMN__STARCHIP = "starchip";
    public static final String COLUMN__WIN = "win";
    public static final String COLUMN__LOSS = "loss";
    public static final String COLUMN__EXPERIENCE = "experience";
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc="Members">
    private int mPlayerId;
    private String mUiid;
    private String mLogin;
    private String mPassword;
    private String mNickname;
    private String mEmail;
    private int mStarchip;
    private int mWin;
    private int mLoss;
    private int mExperience;
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc="Getters/Setters">
    public int getPlayerId() {
        return mPlayerId;
    }
    
    public void setPlayerId(int pPlayerId) {
        mPlayerId = pPlayerId;
    }
    
    public String getUiid() {
        return mUiid;
    }
    
    public void setUiid(String pUiid) {
        mUiid = pUiid;
    }
    
    public String getLogin() {
        return mLogin;
    }
    
    public void setLogin(String pLogin) {
        mLogin = pLogin;
    }
    
    public String getPassword() {
        return mPassword;
    }
    
    public void setPassword(String pPassword) {
        mPassword = pPassword;
    }
    
    public String getNickname() {
        return mNickname;
    }
    
    public void setNickname(String pNickname) {
        mNickname = pNickname;
    }
    
    public String getEmail() {
        return mEmail;
    }
    
    public void setEmail(String pEmail) {
        mEmail = pEmail;
    }
    
    public int getStarchip() {
        return mStarchip;
    }
    
    public void setStarchip(int pStarchip) {
        mStarchip = pStarchip;
    }
    
    public int getWin() {
        return mWin;
    }
    
    public void setWin(int pWin) {
        mWin = pWin;
    }
    
    public int getLoss() {
        return mLoss;
    }
    
    public void setLoss(int pLoss) {
        mWin = pLoss;
    }
    
    public int getExperience() {
        return mExperience;
    }
    
    public void setExperience(int pExperience) {
        mExperience = pExperience;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public PlayerInformation() {
        this(-1, "", "", "", "", "", 0, 0, 0, 0);
    }
    
    public PlayerInformation(int pPlayerId, String pUiid, String pLogin, String pPassword,
            String pNickname, String pEmail, int pStarchip, int pWin, int pLoss, int pExperience) {
        mPlayerId = pPlayerId;
        mUiid = pUiid;
        mLogin = pLogin;
        mPassword = pPassword;
        mNickname = pNickname;
        mEmail = pEmail;
        mStarchip = pStarchip;
        mWin = pWin;
        mLoss = pLoss;
        mExperience = pExperience;
    }
    // </editor-fold>
}
